//
//  NYRefreshTokenRequest.m
//  NiuWaJiaoYu
//
//  Created by MinLison on 2017/11/3.
//  Copyright © 2017年 niuwaketang. All rights reserved.
//

#import "NYRefreshTokenRequest.h"

@implementation NYRefreshTokenRequest

- (NSMutableDictionary *)defaultParams
{
        NSMutableDictionary *dict = [super defaultParams];
        [dict addEntriesFromDictionary:@{
                                         kRequestKeyUser_ID : NOT_NULL_STRING(NYUserManager.user_id, @"0"),
                                         kRequestKeyToken : NOT_NULL_STRING_DEFAULT_EMPTY(NYUserManager.token),
                                         kRequestKeyRefresh_Token : NOT_NULL_STRING_DEFAULT_EMPTY(NYUserManager.refresh_token),
                                         }];
        return dict;
}
- (Class)contentType
{
        return [NYUserModel class];
}


- (BOOL)blockSelfUntilDone
{
        return YES;
}

@end
